package com.dy.lock.screen.dao.impl;

import org.springframework.stereotype.Repository;

import com.dy.lock.screen.dao.MerchantDao;
import com.dy.lock.screen.pojo.MerchantInfo;
@Repository("merchantDao")
public class MerchantDaoImpl extends BaseDaoImpl<MerchantInfo, String> implements MerchantDao {

	@Override
	public String getQueryNamespace() {
		return "mybatis.xml.MerchantMapper";
	}


	@Override
	public MerchantInfo queryByPrimaryKey(String merchantId) {
		return this.getSqlSession().selectOne(
				getQueryNamespace() + ".selectByPrimaryKey", merchantId);
	}

}
